package org.zfes.snowier.cloud.zbss.metting.biz.dao;
import java.util.List;
import java.util.Map;
import org.apache.ibatis.annotations.Mapper;
import org.zfes.snowier.common.dao.mybatis.BaseMapper;
import org.zfes.snowier.common.dao.params.ParamMap;
import org.zfes.snowier.cloud.zbss.metting.biz.model.TenantMember;
import org.zfes.snowier.core.data.Record;
import org.apache.ibatis.annotations.Param;
@Mapper
public interface TenantMemberMapper extends BaseMapper<TenantMember>{
	
	Long selectListCount(ParamMap params);
	
	List<Record> selectMapListPage(ParamMap params);
	
	List<TenantMember> selectModelListPage(ParamMap params);
	
	
	TenantMember selectByAccount(java.lang.String account);
	
	TenantMember selectByPhone(java.lang.String phone);
	
	TenantMember selectByEmail(java.lang.String email);
	
	
	Long selectIdByAccount(java.lang.String account);
	
	Long selectIdByPhone(java.lang.String phone);
	
	Long selectIdByEmail(java.lang.String email);
	
	int updateStatus(@Param("id")Long id, @Param("status")Byte status);
}
